package com.ruoyi.zdgl.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 yw_ddxxb
 * 
 * @author chrui
 * @date 2024-07-27
 */
public class YwDdxxb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private Long ddbh;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long xmbh;

    /** 公司编号 */
    @Excel(name = "公司编号")
    private Long gsbh;

    /** 名称及规格 */
    @Excel(name = "名称及规格")
    private String mcjgg;

    /** 单位 */
    @Excel(name = "单位")
    private String dw;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal sl;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal dj;

    /** 金额总价 */
    @Excel(name = "金额总价",isStatistics=true)
    private BigDecimal zj;

    /** 日期 */
    @Excel(name = "日期")
    private String rq;

    /** 收据编号 */
    @Excel(name = "收据编号")
    private String sjbh;

    /** 制单人 */
    @Excel(name = "制单人")
    private String zdr;

    public void setDdbh(Long ddbh) 
    {
        this.ddbh = ddbh;
    }

    public Long getDdbh() 
    {
        return ddbh;
    }
    public void setXmbh(Long xmbh) 
    {
        this.xmbh = xmbh;
    }

    public Long getXmbh() 
    {
        return xmbh;
    }
    public void setGsbh(Long gsbh) 
    {
        this.gsbh = gsbh;
    }

    public Long getGsbh() 
    {
        return gsbh;
    }
    public void setMcjgg(String mcjgg) 
    {
        this.mcjgg = mcjgg;
    }

    public String getMcjgg() 
    {
        return mcjgg;
    }
    public void setDw(String dw) 
    {
        this.dw = dw;
    }

    public String getDw() 
    {
        return dw;
    }
    public void setSl(BigDecimal sl) 
    {
        this.sl = sl;
    }

    public BigDecimal getSl() 
    {
        return sl;
    }
    public void setDj(BigDecimal dj) 
    {
        this.dj = dj;
    }

    public BigDecimal getDj() 
    {
        return dj;
    }
    public void setZj(BigDecimal zj) 
    {
        this.zj = zj;
    }

    public BigDecimal getZj() 
    {
        return zj;
    }
    public void setRq(String rq) 
    {
        this.rq = rq;
    }

    public String getRq() 
    {
        return rq;
    }
    public void setSjbh(String sjbh) 
    {
        this.sjbh = sjbh;
    }

    public String getSjbh() 
    {
        return sjbh;
    }
    public void setZdr(String zdr) 
    {
        this.zdr = zdr;
    }

    public String getZdr() 
    {
        return zdr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ddbh", getDdbh())
            .append("xmbh", getXmbh())
            .append("gsbh", getGsbh())
            .append("mcjgg", getMcjgg())
            .append("dw", getDw())
            .append("sl", getSl())
            .append("dj", getDj())
            .append("zj", getZj())
            .append("rq", getRq())
            .append("sjbh", getSjbh())
            .append("zdr", getZdr())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
